<template lang="html">
    <div class="">
        <p>一、import 引入子组件</p>
        <p>二、在componets中注册</p>
        <p>三、在模板中调用</p>
        <hr>
        <!-- 3 -->
        <Child1></Child1>
    </div>
</template>

<script>
//1.
import Child1 from '@/page/com/child1'

export default {
	//2
	components: {
		Child1
	}
}
</script>

<style lang="css">
</style>
